package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.UserInfo;

import java.util.List;

public interface IUserInfoService {
    UserInfo findById(String id);

    boolean checkPhone(String phone);

    //短信发送
    void sendVerifyCode(String phone, String smsUrl, String appkey,String smsSign);

    void regist(String phone,String nickname,String password,String rpassword,String verifyCode);

    UserInfo login(String username, String password);

    List<UserInfo> list();

    List<UserInfo> findByDestName(String destName);
}
